package main

import (
	"fmt"
	"io/ioutil"
)

func main() {

	str := "hello 郑州"
	err := ioutil.WriteFile("F:/go-the-way-of-learning/day3/8file_read/demo.txt", []byte(str), 0666)
	if err != nil {
		fmt.Println("write file failed, err:", err)
		return
	}
}
